package org.exez.modules.visitor.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 终端设备
 * @Author: exez-boot
 * @Date:   2020-06-20
 * @Version: V1.0
 */
@Data
@TableName("visitor_device")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="visitor_device对象", description="终端设备")
public class Device {

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;

	/**单位id*/
	@Excel(name = "单位id", width = 15)
    @ApiModelProperty(value = "单位id")
	private java.lang.Integer institutionId;
	/**事业单位编码*/
	@Excel(name = "事业单位编码", width = 15)
    @ApiModelProperty(value = "事业单位编码")
	private java.lang.String institutionCode;

	/**状态 1:在线 2离线*/
	@Excel(name = "状态 1:在线 2离线", width = 15)
	@ApiModelProperty(value = "状态 1:在线 2离线")
	private java.lang.Integer status;

	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
	private java.lang.String deviceName;
	/**设备ip*/
	@Excel(name = "设备ip", width = 15)
    @ApiModelProperty(value = "设备ip")
	private java.lang.String deviceIp;
	/**设备端口*/
	@Excel(name = "设备端口", width = 15)
    @ApiModelProperty(value = "设备端口")
	private java.lang.String devicePort;
	/**设备编码*/
	@Excel(name = "设备编码", width = 15)
    @ApiModelProperty(value = "设备编码")
	private java.lang.String deviceCode;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
	/**0：删除 1：未删除*/
	@Excel(name = "0：删除 1：未删除", width = 15)
    @ApiModelProperty(value = "0：删除 1：未删除")
	private java.lang.Integer deleted;
}
